﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="WorkFlow_WFConfigure_WFTaskGroupEdit" Codebehind="WFTaskGroupEdit.aspx.cs" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>任务栏分组信息</title>
    <script language="javascript" type="text/javascript">
    function mSelectChanged()
    {
       var selectValue = document.all.ddlDisStyle.value;
       document.getElementById("txtStyle1").style.display="none";
       document.getElementById("txtStyle2").style.display="none";
       document.getElementById("txtStyle"+selectValue.substr(5,1)).style.display="";
    }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <table width="100%"  border="0" align="center" cellpadding="0" cellspacing="0" >
          <tr class="NavTitle"><td>
              任务栏分组信息维护
          </td></tr></table>
         
        <table align="center"  width="100%"  border="0" cellpadding="3" cellspacing="0" class="infogrid">

	<tr>		
		<td style="width: 100px; height: 27px;"><div align="right">
            分组名称:</div></td>
		<td style="height: 27px"  ><asp:textbox id="txtName" MaxLength="50" Runat="server"  ></asp:textbox><asp:RequiredFieldValidator
                ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtName" ErrorMessage="*"></asp:RequiredFieldValidator></td>
        <td style="width: 100px; height: 27px;"><div align="right">
            排序:</div></td>
		<td  ><asp:textbox id="txtSortSerial" MaxLength="10" Runat="server"   Text="1"></asp:textbox><asp:RequiredFieldValidator
                ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtSortSerial"
                ErrorMessage="*"></asp:RequiredFieldValidator><asp:RegularExpressionValidator ID="RegularExpressionValidator1"
                    runat="server" ControlToValidate="txtSortSerial" ErrorMessage="请输入数字" ValidationExpression="[1-9]\d*|0" Font-Size="Smaller"></asp:RegularExpressionValidator></td>
		
	</tr>
	<tr>		
		<td style="width: 100px; height: 27px;"><div align="right">
            显示风格:</div></td>
		<td style="height: 27px" colspan="3" >
            <asp:DropDownList  ID="ddlDisStyle" runat="server" onchange="mSelectChanged();">
            </asp:DropDownList>&nbsp;
            <asp:TextBox ID="txtStyle1" runat="server" BackColor="Transparent" BorderColor="Transparent" Text="示例：您有2张请假单需要处理"
                BorderStyle="None" ForeColor="blue" Width="200px" ></asp:TextBox><asp:TextBox ID="txtStyle2" runat="server" BackColor="Transparent" BorderColor="Transparent"
                BorderStyle="None" ForeColor="blue" Width="200px" style="display:none" Text="示例：您有请假单[XXX]需要处理" ></asp:TextBox></td>
		
	</tr>
	<tr>		
		<td style="width: 100px"><div align="right">
            链接地址:</div></td>
		<td colspan="3"><asp:textbox id="txtTaskPageUrl" MaxLength="200" Runat="server" Width="80%"></asp:textbox></td>
	</tr>
	
</table> 

<table width="100%"  border="0" cellspacing="0" cellpadding="5">
  <tr>
    <td> <div align="center">
    <asp:Button ID="btnOK" runat="server" Text="确定" OnClick="btnOK_Click"   />
            
    <input type="submit" class="btn_normal" onmouseover="this.className='btn_active'" onmouseout="this.className='btn_normal'" name="btnCancel" onclick="window.close();"    value="取 消" />
   </div></td>
  </tr>
</table>
    </form>
    <script language="javascript" type="text/javascript">
       var selectValue = document.all.ddlDisStyle.value;
       document.getElementById("txtStyle1").style.display="none";
       document.getElementById("txtStyle2").style.display="none";
       document.getElementById("txtStyle"+selectValue.substr(5,1)).style.display="";
    </script>
</body>
</html>
